package org.qydjk.common.pojo.product;

import javax.persistence.*;
import java.util.Date;

import static javax.persistence.GenerationType.IDENTITY;

/**
 * 产品属性实体明细
 * Created by Edward_yang on 2017/12/13 0013.
 */
@Entity
@Table(name = "qy_product_attr_detail", catalog = "qydjk")
public class ProductAttrDetail {
    private Integer id;
    private Integer productId;
    private String productAttrCode;
    private String content;
    private Date createTime;
    private Date updateTime;


    @Id
    @GeneratedValue(strategy = IDENTITY)
    @Column(name = "id")
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Basic
    @Column(name = "product_id")
    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    @Basic
    @Column(name = "product_attr_code")
    public String getProductAttrCode() {
        return productAttrCode;
    }

    public void setProductAttrCode(String productAttrCode) {
        this.productAttrCode = productAttrCode;
    }

    @Basic
    @Column(name = "content")
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Basic
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "update_time")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}
